package org.activequant.container.context;

/**
 * An interface. Defines the following method:
 * <ul>
 * <li>&lt;T&gt; T lookup(Class&lt;T&gt; clazz, String name);</li>
 * </ul>
 * <br>
 * <b>History:</b><br>
 *  - [15.01.2008] Created (Erik Nijkamp)<br>
 *
 *  @author Erik Nijkamp
 */
public interface IObjectFactory {
	
	/**
	 * Object lookup method.
	 * 
	 * @param clazz
	 * @return object or null if not found.
	 */
	<T> T lookup(Class<T> clazz, String name);
}
